from typing import Optional, List

from pydantic import BaseModel, Field

class Parameter(BaseModel):
    d: int
    e: float

class Result(BaseModel):
    r: float

def mul(param: Parameter) -> Result:
    y = param.d * param.e
    return Result(r=y)
